package study.saas.order.service.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author HuBoyu
 *
 */
@Data
@ApiModel

public class PurchaseCreateDTO implements Serializable {
    @ApiModelProperty(value = "订单id")
    private Integer purchaseId;

    @ApiModelProperty(value = "商品id")
    private Integer id;

    @ApiModelProperty(value = "商品数量")
    private Integer amount;


    @ApiModelProperty(value = "商品名称")
    private String commodityName; // 商品名称


    @ApiModelProperty(value = "商品价格")
    private BigDecimal price; // 商品价格




}
